WP_Defender\Model\Lockout_Log A

Total Complexity 61
Dependencies 4
Dependents 12
Total lines 585
Lines of code 306
Logical lines of code 163
Comment lines 125
Methods 20
Properties 10

Methods 20

Method Rating Maintainability Complexity Lines of code
query_logs()
A
47 11 35
get_log_tag()
S
58 7 18
get_log_container_class()
S
59 7 16
get_log_tag_class()
S
59 7 16
count()
S
50 6 29
format_logs()
S
44 4 45
ban_status_where()
S
55 4 19
get_last_lockout_date()
S
56 3 19
get_summary()
S
52 1 24
count_lockout_in_7_days()
S
62 1 13
count_lockout_in_30_days()
S
62 1 13
count_lockout_in_24_hours()
S
62 1 13
truncate()
S
74 1 5
count_ua_lockout_last_7_days()
S
72 1 5
count_404_lockout_last_7_days()
S
72 1 5
count_login_lockout_last_7_days()
S
72 1 5
get_logs_and_format()
S
74 1 4
find_by_id()
S
71 1 6
delete()
S
68 1 8
remove_logs()
S
67 1 8